package com.责任链模式;

import com.责任链模式.service.AliService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BaseParamController {

    @Autowired
    AliService aliService;

    public static BaseParamPojo baseParamPojo=new BaseParamPojo();

    @PostMapping(value = "/aaa")
    public BaseParamPojo aaa(@RequestBody BaseParamVo baseParamVo){
        baseParamPojo=aliService.returnOrderApply(baseParamPojo,baseParamVo);
        return baseParamPojo;
    }
}
